package it.polimi.TravelDream;

import java.util.Date;

import org.hibernate.validator.constraints.*;

import javax.validation.constraints.*;


public class FlightDTO {
	
	private int id;

	@NotEmpty
	private String arrAirport;

	@NotEmpty
	private String arrLocation;
	
	@NotNull
	@Range(min=0)
	private int capacity;

	@NotNull
	@Future
	private Date date_Time;

	@NotEmpty
	private String depAirport;
	
	@NotEmpty
	private String depLocation;

	@NotEmpty
	private String description;

	@NotEmpty
	private String flag;

	@NotNull
	@Range(min=0)
	private int price;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getArrAirport() {
		return arrAirport;
	}

	public void setArrAirport(String arrAirport) {
		this.arrAirport = arrAirport;
	}

	public String getArrLocation() {
		return arrLocation;
	}

	public void setArrLocation(String arrLocation) {
		this.arrLocation = arrLocation;
	}

	public int getCapacity() {
		return capacity;
	}

	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}

	public Date getDate_Time() {
		return date_Time;
	}

	public void setDate_Time(Date date_Time) {
		this.date_Time = date_Time;
	}

	public String getDepAirport() {
		return depAirport;
	}

	public void setDepAirport(String depAirport) {
		this.depAirport = depAirport;
	}

	public String getDepLocation() {
		return depLocation;
	}

	public void setDepLocation(String depLocation) {
		this.depLocation = depLocation;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

}
